package com.zhongxiangspace.entity;

import java.io.Serializable;

/**
 * 区县/商圈
 */
public class County implements Serializable {

    private Integer county_id;
    //创建时间
    private String create_time;
    //最后修改时间
    private String modify_time;
    //区域昵称
    private String name;
    //图片路径
    private String imgPath;
    //描述
    private String description;
    //坐标
    private String coordinate;
    //创建人
    private String username;
    //1-上线/0-下线
    private Integer showCode;
    //1-展示/0-删除(逻辑)
    private Integer deleteCode;
    //父级id 顶级默认为0
    public  Integer parent_id;
    // 1-热门 0-非热门
    private  Integer hotCode;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("County{");
        sb.append("county_id=").append(county_id);
        sb.append(", create_time='").append(create_time).append('\'');
        sb.append(", modify_time='").append(modify_time).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", imgPath='").append(imgPath).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", coordinate='").append(coordinate).append('\'');
        sb.append(", username='").append(username).append('\'');
        sb.append(", showCode=").append(showCode);
        sb.append(", deleteCode=").append(deleteCode);
        sb.append(", parent_id=").append(parent_id);
        sb.append(", hotCode=").append(hotCode);
        sb.append('}');
        return sb.toString();
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public Integer getHotCode() {
        return hotCode;
    }

    public void setHotCode(Integer hotCode) {
        this.hotCode = hotCode;
    }

    public Integer getCounty_id() {
        return county_id;
    }

    public void setCounty_id(Integer county_id) {
        this.county_id = county_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getModify_time() {
        return modify_time;
    }

    public void setModify_time(String modify_time) {
        this.modify_time = modify_time;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getShowCode() {
        return showCode;
    }

    public void setShowCode(Integer showCode) {
        this.showCode = showCode;
    }

    public Integer getDeleteCode() {
        return deleteCode;
    }

    public void setDeleteCode(Integer deleteCode) {
        this.deleteCode = deleteCode;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }


}
